home *** CD-ROM | disk | FTP | other *** search
/ Aminet 1 (Walnut Creek) / Aminet - June 1993 [Walnut Creek].iso / aminet / biz / misc / imagefxdevkit.lha / fd / scan2.fd < prev   
Text File  |  1992-12-12  |  8KB  |  326 lines

  1. ##base _ScanBase
  2. ##bias 30
  3. ##private
  4. *
  5. SB_obsolete()()
  6. *
  7. ##public
  8. SB_HidePanel()()
  9. SB_ShowPanel()()
  10. SB_ArrangePanel()()
  11. SB_ShowStatus(buffer)(a0)
  12. *
  13. * These 3 bar functions are registerized!!
  14. SB_BeginBar(title,count,cancel)(a0/d0/d1)
  15. SB_Bar(iteration)(d0)
  16. SB_EndBar(junk)(a0)
  17. *
  18. SB_Error()()
  19. SB_VErrorf(text,vargs)(a0/a1)
  20. SB_TogglePanel()()
  21. *
  22. SB_SerOpen(device,unit,baud,z)(a0/d0/d1/d2)
  23. SB_SerClose()()
  24. SB_SerBaud(baud)(d0)
  25. SB_SerRead(buf,len)(a0/d0)
  26. SB_TimedSerRead(buf,len,timeout)(a0/d0/d1)
  27. ##private
  28. SB_obsolete1()()
  29. ##public
  30. SB_SerPutc(byte)(d0)
  31. SB_SerWrite(string,len)(a0/d0)
  32. SB_SerFlush()()
  33. SB_SerDisable()()
  34. SB_SerEnable()()
  35. *
  36. SB_Ged_Set(window,gadgetid,value)(a0/d0/d1)
  37. SB_Ged_Get(window,gadgetid)(a0/d0)
  38. SB_Ged_Activate(window,gadgetid)(a0/d0)
  39. SB_Ged_Enable(window,gadgetid,enable)(a0/d0/d1)
  40. *
  41. SB_AllocChipBitMap(w,h,d)(d0/d1/d2)
  42. SB_AllocFastBitMap(w,h,d)(d0/d1/d2)
  43. SB_DeleteBitMap(bitmap)(a0)
  44. SB_ClearBitMap(bitmap)(a0)
  45. SB_CopyBitMap(source,dest)(a0/a1)
  46. SB_SetError(errorcode)(d0)
  47. SB_GetError()()
  48. ##private
  49. SB_obsolete2()()
  50. ##public
  51. SB_DAlloc(size,flags,file,func,line)(d0/d1/a0/a1/d2)
  52. SB_DFree(mem,size,file,func,line)(a1/d0/a0/a2/d2)
  53. *
  54. SB_IsBuffer()()
  55. SB_FreeBuffer()()
  56. SB_InitBuffer(name,width,height,depth,bits,flags)(a0/d0/d1/d2/d3/d4)
  57. SB_ObtainBuffer(which)(d0)
  58. SB_ReleaseBuffer(buffer)(a0)
  59. SB_GetBufLine(buffer,redp,grnp,blup,scanline)(a0/a1/a2/a3/d0)
  60. SB_PutBufLine(buffer)(a0)
  61. SB_PutNewBufLine(buffer,red,grn,blu,scanline)(a0/a2/a2/a3/d0)
  62. SB_PutNewBufLine1(a,b,c,d)(a0/a1/d0/d1)
  63. SB_GetBufVLine(a,b,c,d,e)(a0/a1/a2/a3/d0)
  64. SB_PutBufVLine(a)(a0)
  65. SB_PutNewBufVLine(a,b,c,d,e)(a0/a1/a2/a3/d0)
  66. SB_PutNewBufVLine1(a,b,c,d)(a0/a1/d0/d1)
  67. ##private
  68. SB_obsolete111()()
  69. ##public
  70. *
  71. ##private
  72. SB_obsolete3()()
  73. SB_obsolete4()()
  74. ##public
  75. SB_RenderVirtual()()
  76. SB_RenderPartVirtual(x1,y1,x2,y2)(d0/d1/d2/d3)
  77. SB_VirtualTranslate(xptr,yptr)(a0/a1)
  78. SB_GetVCoords(intuimsg,xptr,yptr)(a0/a1/a2)
  79. SB_VirtRow24(a,b,c,d,e)(a0/a1/a2/d0/d1)
  80. SB_ColorVirtual(a)(d0)
  81. SB_ClearVirtual()()
  82. ##private
  83. SB_obsolete7()()
  84. SB_obsolete8()()
  85. SB_obsolete9()()
  86. ##public
  87. SB_VirtRow8(a,b,c,d)(a0/d0/d1/d2)
  88. SB_VirtCol8(a,b,c,d)(a0/d0/d1/d2)
  89. ##private
  90. SB_obsolete112()()
  91. SB_obsolete10()()
  92. ##public
  93. SB_VirtualTempClose()()
  94. SB_VirtualTempOpen()()
  95. *
  96. SB_RequestNewRender()()
  97. *
  98. ##private
  99. SB_obsolete11()()
  100. SB_obsolete12()()
  101. SB_obsolete13()()
  102. SB_obsolete14()()
  103. SB_obsolete15()()
  104. SB_obsolete16()()
  105. SB_obsolete17()()
  106. SB_obsolete18()()
  107. *
  108. SB_DM_Inquire()()
  109. SB_DM_Dither()()
  110. *
  111. SB_Quantize_Inquire()()
  112. ##public
  113. SB_DoQuantize(a,b,d,e,f,g)(d0/d1/a0/a1/a2/d2)
  114. *
  115. SB_AllocBuffer(name,width,height,depth,bits,flags)(a0/d0/d1/d2/d3/d4)
  116. SB_ReplaceBuffer(oldbuf,newbuf)(a0/a1)
  117. SB_KillBuffer(buffer)(a0)
  118. *
  119. SB_ProcessRegion(a,b,d,e,f)(a0/a1/a2/a3/a4)
  120. SB_ProcessPlane(a,b,c,d,e)(a0/a1/a2/d0/a3)
  121. SB_SaveUndo(buffer,leftedge,topedge,width,height)(a0/d0/d1/d2/d3)
  122. SB_RestoreUndo(redraw)(d0)
  123. *
  124. SB_InitHook()()
  125. SB_CleanupHook()()
  126. SB_EasyProcess(a,b,c)(a0/a1/a2)
  127. *
  128. SB_PreOverscan(a)(a0)
  129. SB_PostOverscan(a)(a0)
  130. *
  131. SB_VBoolRequest(title,vargs)(a0/a1)
  132. SB_StringRequest(title,default)(a0/a1)
  133. SB_IntegerRequest(title,low,high,default)(a0/d0/d1/d2)
  134. *
  135. SB_SetCurrentPalette(a,b)(a0/d0)
  136. SB_GetPaletteStruct(a)(a0)
  137. SB_IsRangeLocked(a)(d0)
  138. SB_IsRegisterLocked(a)(d0)
  139. SB_ModifyPalette(a,b,c,d)(d0/d1/d2/d3)
  140. SB_UnlockedColors(a)(d0)
  141. SB_RefreshPalette()()
  142. *
  143. SB_OpenRenderScreen(a,b,c)(a0/d0/d1)
  144. SB_CloseRenderScreen(a)(a0)
  145. SB_DrawRenderArea()()
  146. *
  147. SB_SetModGad(base,id,val)(a0/d0/d1)
  148. SB_Ged_Create(context,newgad,text)(a0/a1/a2)
  149. SB_Ged_Delete(context)(a0)
  150. SB_Ged_Add(context,window)(a0/a1)
  151. SB_Ged_Remove(context,window)(a0/a1)
  152. SB_GedWindow(newwindow,newgad,id,init,free,text)(a0/a1/d0/a2/a3/a4)
  153. SB_Ged_GetIMsg(window,rcptr)(a0/a1)
  154. *
  155. SB_VInfoRequest(title,vargs)(a0/a1)
  156. *
  157. SB_CheckMask(mask,x,y)(a0/d0/d1)
  158. *
  159. SB_RollScreenUp(height)(d0)
  160. SB_RollScreenDown()()
  161. *
  162. SB_InstallCustomMask(a)(a0)
  163. SB_FreeMask(mask)(a0)
  164. SB_BuildRectMask(a,b,c,d)(d0/d1/d2/d3)
  165. SB_BuildOvalMask(a,b,c,d,e)(d0/d1/d2/d3/d4)
  166. SB_BuildPolyMask(a)(a0)
  167. SB_BuildFloodMask(a,b,c,d)(a0/d0/d1/d2)
  168. SB_SetRegionTool(a)(d0)
  169. *
  170. ##private
  171. SB_msprintf()()
  172. ##public
  173. *
  174. SB_SaveBuffer(a,b,c)(a0/a1/a2)
  175. SB_LoadBuffer(a,b,c)(a0/a1/d0)
  176. *
  177. *------------------------------ 0.49 ---------------------------
  178. *
  179. SB_ParseCommand(a,b)(a0/a1)
  180. SB_RenderPalette(a,b,c,d,e)(a0/a1/d0/a2/d1)
  181. ##private
  182. SB_DoRexx()()
  183. SB_DoGadget()()
  184. ##public
  185. *
  186. *------------------------------ 0.51 ---------------------------
  187. *
  188. SB_RedrawFull()()
  189. SB_RedrawArea(a,b,c,d)(d0/d1/d2/d3)
  190. *
  191. *------------------------------ 0.52 ---------------------------
  192. *
  193. SB_ListRequester(a,b,c)(a0/a1/d0)
  194. *
  195. *------------------------------ 0.54 ---------------------------
  196. *
  197. SB_VThreeRequest(a,b,c,d,e)(a0/a1/a2/a3/a4)
  198. *
  199. *------------------------------ 0.55 ---------------------------
  200. *
  201. SB_UnlockResource(a)(d0)
  202. SB_RelockResource(a)(d0)
  203. SB_NewGetFile(a,b,c)(a0/a1/d0)
  204. SB_TakeOver(a)(d0)
  205. SB_ReadBuffer(a,b)(a0/a1)
  206. * Misleading name at best:
  207. SB_SaveBrush(a,b,c,d)(a0/a1/a2/a3)
  208. *
  209. *------------------------------ 0.57 ---------------------------
  210. *
  211. SB_SaveMapped(a,b,c,d)(a0/a1/a2/a3)
  212. *
  213. *------------------------------ 0.58 ---------------------------
  214. *
  215. SB_BOpen(file,mode,bufsize)(a0/d0/d1)
  216. SB_BClose(handle)(a0)
  217. SB_BPutc(handle,c)(a0,d0)
  218. SB_BPuts(handle,string)(a0,a1)
  219. SB_BGetc(handle)(a0)
  220. SB_BGets(handle,buf,len)(a0/a1/d0)
  221. SB_BWrite(handle,buffer,length)(a0/a1/d0)
  222. SB_BRead(handle,buffer,length)(a0/a1/d0)
  223. *
  224. *------------------------------ 0.61 ---------------------------
  225. *
  226. SB_CloseWindowSafely(window)(a0)
  227. *
  228. *------------------------------ 0.62 ---------------------------
  229. *
  230. SB_RequestNewScanner()()
  231. SB_RequestNewPrinter()()
  232. *
  233. *------------------------------ 0.63 ---------------------------
  234. *
  235. SB_VSetResult(msg,fmt,vargs)(a0/a1/a2)
  236. ##private
  237. SB_MatchArg(arg,...)()
  238. SB_ChangeScanner()()
  239. SB_ChangeRender()()
  240. SB_ChangePrinter()()
  241. ##public
  242. *
  243. *------------------------------ 0.64 ---------------------------
  244. *
  245. SB_PrepareNW(nw,width,height,scale)(a0/d0/d1/d2)
  246. *
  247. *------------------------------ 0.65 ---------------------------
  248. *
  249. SB_GetPalette(reg,r,g,b)(d0/a0/a1/a2)
  250. *
  251. *------------------------------ 0.91 ---------------------------
  252. *
  253. SB_ReadText(tag,count)(a0/d0)
  254. SB_FreeText(textarray,count)(a0/d0)
  255. *
  256. *------------------------------ 0.92 ---------------------------
  257. *
  258. SB_InitDither(ng1,ng2,ng3)(a0/a1/a2)
  259. SB_FreeDither(dargs)(a0)
  260. SB_DoDither(buf,dargs)(a0/a1)
  261. SB_Help(file,node)(a0/a1)
  262. *
  263. *------------------------------ 0.93 ---------------------------
  264. *
  265. ##private
  266. SB_AddWedge(wedgename,portname)()
  267. ##public
  268. SB_AddRawWedge(wedgename,function,userdata)(a0/a1/a2)
  269. SB_RemoveWedge(wedgename,portname)(a0/a1)
  270. SB_RemoveAllWedges()()
  271. ##private
  272. SB_DoWedge(wedgename,fmt,...)()
  273. ##public
  274. SB_VDoRawWedge(wedgename,resultptr,vargs)(a0/a1/a2)
  275. SB_QuickPix(planes,byteptr,bitptr,color,depth)(a0/a1/a2/d0/d1)
  276. SB_QuickLine(planes,byteptr,bitptr,array,width,depth)(a0/a1/a2/a3/d0/d1)
  277. ##private
  278. SB_HandleArexx()()
  279. ##public
  280. *
  281. *------------------------------ 0.94 ---------------------------
  282. *
  283. ##private
  284. SB_OldReadArgsClone(argc,argv,template,array)()
  285. SB_ReadArgsClone(stringptr,template,array)()
  286. SB_FreeArgsClone(argstruct)()
  287. ##public
  288. SB_GedWin(newwindow,newgad,id,init,free,text)(a0/a1/d0/a2/a3/a4)
  289. SB_VMWriteAll(a)(a0)
  290. SB_VMPageChanged(a,b)(a0/d0)
  291. SB_VMGetPage(a,b)(a0/d0)
  292. ##private
  293. SB_VMOpen()()
  294. SB_VMClose()()
  295. ##public
  296. *
  297. *------------------------------ 0.95 ---------------------------
  298. *
  299. SB_NumberRequest(title,low,high,default)(a0/d0/d1/d2)
  300. *
  301. *------------------------------ 0.98 ---------------------------
  302. *
  303. SB_BFlush(bio)(a0)
  304. SB_BSeek(bio,offset,mode)(a0/d0/d1)
  305. *
  306. *------------------------------ 0.99 ---------------------------
  307. *
  308. SB_VPickFromList(a,b,c,d)(a0/d0/d1/a1)
  309. SB_LangListRequest(a,b,c,d,e,f,g)(a0/a1/d0/d1/d2/d3/a2)
  310. SB_TextListRequest(a,b,c,d,e)(a0/a1/d0/d1/d2)
  311. SB_PickFromListA(a)(a0)
  312. SB_CreateBlend(a)(a0)
  313. SB_DeleteBlend(a)(a0)
  314. SB_mixer(new,old,mix)(d0/d1/d2)
  315. *
  316. *------------------------------ 0.100 ---------------------------
  317. *
  318. SB_GetBufLines(a,b,c,d,e,f)(a0/a1/a2/a3/d0/d1)
  319. SB_PutBufLines(a,b,c)(a0/d0/d1)
  320. *
  321. *------------------------------ 0.104 ---------------------------
  322. *
  323. SB_NewPreOverscan(ns,modeid)(a0/d0)
  324. *
  325. ##end
  326.